<!doctype html>
<title>mac imei</title>
<link rel="stylesheet" type="text/css" >
<div class="page">
  <h1>MAC and IMEI</h1>
    <form action="{{ url_for('select_all2') }}">
        <input type="submit" value="ALL">
    </form>
    <form action="{{ url_for('select_mac2') }}" method="get">
        MAC:
        <input type="text" name="mac" value="{{mac}}">
        <input type="submit" value="search">
    </form>
    <form action="{{ url_for('select_imei2') }}" method="get">
        imei:
        <input type="text" name="imei" value="{{imei}}">
        <input type="submit" value="search">
    </form>
  <table>
    <tr>
    <th>MAC</th>
    <th>IMEI</th>
    </tr>
  {% for entry in entries %}
    <tr>
        <td>{{ entry[0] }}</td><td>{{ entry[1]|safe }}</td>
    </tr>
  {% endfor %}
  </table>


</div>